const https = require('https')

https.get('https://lurongtao.gitee.io/felixbooks-gp19-node.js/basics/01-Node.js%E5%9F%BA%E7%A1%80.html', res=>{
    let str = ''
    res.on('data', chunk=>{
        str += chunk
    })
    res.on('end', ()=>{
        console.log(str)
    })
})